
<!DOCTYPE html>
<html ng-app="myApp">

<head>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

<!-- Bootstrap Core CSS -->
<link href="/megaacerto/style/css/bootstrapSpaceLab.css"
	rel="stylesheet">

<link rel="stylesheet" type="text/css"
	href="/megaacerto/style/css/styles.css" />
<!-- PARA FAZER MASCARA FUNCIONAR ANGULAR JS/	-->
<script src="/megaacerto/javascript/recursos/jquery-1.2.6.pack.js"></script>

<!-- 
	<style type="text/css">
		.modal-body {
			position: static;
			padding-bottom: 18px;
		}
	</style>
 -->
</head>

<body ng-controller="adminBolao">
	<div ng-include src="'/megaacerto/page/menu.jsp'"></div>
	<div id="wrap">
		<div id="main" class="container clear-top">
			<div class="row">
				<div class="panel panel-primary">
					<div class="panel-heading">
						<h3 class="panel-title">Cadastro de Bolão</h3>
					</div>
					<div class="panel-body">
					ID:<span>{{identificadorGerado}}</span>
						<form class="form-horizontal" name="myForm">
							<div class="form-group">
								<label for="inputNome" class="control-label col-xs-2">Tipo
									de Jogo</label>
								<div class="col-xs-6">
									<select ng-model="tipoDeJogo " class="form-control"
										ng-required="true">
										<option value="0">Mega Sena</option>
										<option value="1">Quina</option>
										<option value="2">Loto Mania</option>
										<option value="3">Dupla Sena</option>
										<option value="4">Loto Fácil</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label for="inputNome" class="control-label col-xs-2">Serie Bolão</label>
								<div class="col-xs-6">
									<select ng-model="tipoDeSerieBolao " class="form-control">
										<option value="0">Mega da Virada</option>
										<option value="1">Quina de São João</option>
										<option value="2">Loto Mania de Pascoa</option>
										<option value="3">Loto Fácil da Independência</option>
									</select>
								</div>
							</div>

							<!-- 
							<div class="form-group">
								<label for="inputDtSorteio" class="control-label col-xs-2">Data
									Sorteio</label>
								<div class="col-xs-6">
									<input id="inputDtSorteio" ng-model="dtSorteio"
										class="form-control" ui-mask="99/99/9999">
								</div>
							</div>
							 -->
							<div class="form-group">
								<label class="control-label col-xs-2">Descrição Desdobramento</label>
								<div class="col-xs-6">
									<textarea ng-model="descDesdobramento" class="form-control" ng-required="true" rows="4" cols="50"></textarea>
								</div><div dynamic="descDesdobramento"></div>
							</div>
							<div class="form-group">
								<label for="inputQtdCotas" class="control-label col-xs-2">Quantida
									de Cotas</label>
								<div class="col-xs-6">
									<input id="inputQtdCotas" ng-model="qtdCotas"
										class="form-control" ng-required="true">
								</div>
							</div>
							<div class="form-group">
								<label for="inputValorCota" class="control-label col-xs-2">Valor
									Cota</label>
								<div class="col-xs-6">
									<input id="inputValorCota" ng-model="valorCota"
										class="form-control" ng-required="true" />
								</div>
							</div>
							<!-- 
							<div class="form-group">
								<label for="inputQtdNumerosMarcado"
									class="control-label col-xs-2">Quantidade de numeros
									marcado</label>
								<div class="col-xs-6">
									<input id="inputQtdNumerosMarcado" type="number"
										ng-model="qtdNumerosMarcado" class="form-control"
										ng-required="true" max="50">
								</div>
							</div>
							<div class="form-group">
								<label for="inputDescricaoSeq" class="control-label col-xs-2">Descrição Sequencia Obrigatoria</label>
								<div class="col-xs-6">
									<input id="inputDescricaoSeq" ng-model="descricaoSeq"
										class="form-control">
								</div>
							</div>
							<div class="form-group">
								<label for="inputSeqObrigatoria" class="control-label col-xs-2">Sequencia
									Obrigatoria</label>
								<div class="col-xs-6">
									<input id="inputSeqObrigatoria" ng-model="seqObrigatoria"
										class="form-control">
								</div>
							</div>
							<div class="form-group">
								<label for="inputSeqIgnorada" class="control-label col-xs-2">Sequência
									ignorada</label>
								<div class="col-xs-6">
									<input id="inputSeqIgnorada" ng-model="seqIgnorada"
										class="form-control">
								</div>
							</div>
							<div class="form-group">
								<label for="inputQtdJogos" class="control-label col-xs-2">Quantidade
									de Jogos</label>
								<div class="col-xs-6">
									<input id="inputQtdJogos" ng-model="qtdJogos"
										class="form-control" ng-required="true">
								</div>
							</div>
							-->
							<div class="form-group">
								<div class="col-xs-offset-2 col-xs-10">
									<button class="btn btn-primary" ng-disabled="myForm.$invalid"
										ng-click="adicionarBolao()">Enviar</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>

	<!--Criar Pagefooter  -->
	<div ng-include src="'/megaacerto/page/footer.html'"></div>


	<script type="text/javascript"
		src="/megaacerto/javascript/recursos/angular_2.min.js"></script>

	<script type="text/javascript"
		src="/megaacerto/javascript/control/angular-route.js"></script>

	<script type="text/javascript"
		src="/megaacerto/javascript/recursos/ui-utils.js"></script>
	<script src="/megaacerto/javascript/recursos/ng-currency.js"></script>
	
			<script type="text/javascript"
		src="/megaacerto/javascript/recursos/ui-bootstrap-tpls-0.11.0.min.js"></script>
	
	
	<script type="text/javascript"
		src="/megaacerto/javascript/control/adminBolao.js"></script>

</body>

</html>